package com.first.homeqian.controller;

import com.first.common.vo.Result;
import com.first.homeqian.service.HeadService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: finrsteducation-parent
 * @description:
 * @author: 张玉森
 * @create: 2023-06-01 15:40
 **/
@RestController
@Api(tags = "web头部文件获取")
@RequestMapping("/home/qian/head")
public class HeadController {
    @Autowired
    private HeadService headService;
    @GetMapping("getAllHead")
    @ApiOperation(value = "获取所有的头信息")
    public Result getAllHead(){
        return headService.getAllHead();
    };
}
